<link rel="stylesheet" href="/css/top.css"/>
<div class="nav">
        <ul class="nav-ul">
                <li class="nav-logo"><div><a href="/index"><img src="/image/logo.png"></a></div></li>
                <li class="shouye"><a href="/index">首页</a></li>
                <ul class="nav-ull">
                        <li class="nav-ull-li"><a th:if="${session.userLogin}" href="" >
                                <span th:text="${session.userLogin.getEmail}" id="lookatme">查看我</span>
                                <ul class="lookatme-ul">
                                        <li th:if="${session.userLogin} and ${session.userLogin.getIsVip()==0}">成为VIP</li>
                                        <li th:if="${session.userLogin}"><a href="/index/toLogin">切换账号</a></li>
                                        <li th:if="${session.userLogin}"><a href="/index/logOut">退出登录</a></li>
                                </ul>
                        </a></li>
                </ul>
                <ul class="nav-ulm">
                        <li><a th:unless="${session.userLogin}" href="/index/toLogin" id="login">登录</a>
                                <ul class="login-ul">
                                        <li><a href="/index/toRegister">注册</a>
                                        <li><a href="/admin/toAdminLogin">后台登录</a></li>
                                </ul>
                        </li>
                </ul>
                <li><a href="/index/classification" id="classify">分类</a></li>
                <ul class="nav-ulr">
                        <li><a href="/index/ranking" name="nset">排行榜</a>
                        <ul class="nav-ulrin">
                                <li><a href="/index/ranking?rank=rating">总榜</a></li>
                                <li><a href="/index/ranking?rank=week_rating">周榜</a></li>
                                <li><a href="/index/ranking?rank=month_rating">月榜</a></li>
                                <li><a href="/index/ranking?rank=positive_rate">好评榜</a></li>
                                <li><a href="/index/ranking?rank=popularity">热榜</a></li>
                        </ul>
                        </li>
                </ul>
        </ul>
</div>